home *** CD-ROM | disk | FTP | other *** search
- Path: li.net!jeremy
- From: jeremy@newshost.li.net (Jeremy Markman)
- Newsgroups: comp.lang.c
- Subject: Re: How to hide CURSOR?????
- Date: 25 Mar 1996 20:11:58 GMT
- Organization: LI Net (Long Island Network)
- Message-ID: <4j6ume$ehf@linet06.li.net>
- References: <4j4k6h$j3q@whitbeck.ncl.ac.uk>
- NNTP-Posting-Host: linet04.li.net
- X-Newsreader: TIN [version 1.2 PL2]
-
- n387992 (Guanefu.Li@ncl.ac.uk) wrote:
- : I am writing a DOS application using Borland C++,
- : I would like to hide the cursor, and then revover it after running.
- : Can you tell me how to do it?
- : Can you give me a piece of C/C++ program?
-
- Borland includes a library function contained in CONIO.H called
- _setcursortype.
- Usage:
- _setcursortype(_NOCURSOR); // will shut off cursor
- _setcursortype(_NORMALCURSOR); //will turn cursor back on.
-
- _NOCURSOR and _NORMALCURSOR are constants that Borland defines for you in
- CONIO.H
-